package com.oa.ylms.apps.business.archives;

import com.oa.ylms.apps.entity.archives.ArchiveInfoValue;

public interface IArchiveInfoService {
	
	public int addArchiveInfo(int mailId,int majorId,int avatarId,int postId,String staffName,String gender,int age,String birthday,String politician,String grade,String classNo,String telphone,String dormitory,String archiveNo) throws Exception;
	
	public boolean modifyArchiveInfo(int archiveId, int majorId, String staffName, int age, String politician, String grade, String classNo,String telphone, String dormitory,int mailId, String mail)throws Exception;
	
	public boolean modifyArchiveInfo(int archiveId, int majorId, String staffName, int age, String birthday, String politician, String grade, String classNo,String telphone, String dormitory, String archiveNo) throws Exception;
	
	public boolean modifyArchiveInfo(ArchiveInfoValue archiveInfo)throws Exception;
	
	public boolean toDisable(int archiveId) throws Exception;
	
	public boolean toEnable(int archiveId) throws Exception;
	
	public ArchiveInfoValue queryByArchiveId(int archiveId) throws Exception;
	
	public String queryArchiveNo(String archiveNo) throws Exception;
}
